﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="WebApp.Management.Categories.List" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:30%; float:left">
    <div style="background-color: #2222EE;">
        <asp:Button ID="_ctlBtnSave" runat="server" Text="保存" 
            onclick="_ctlBtnSave_Click" />
    </div>
    <div>
        编码:
    </div>
    <div>
        <asp:TextBox ID="_ctlEditCode" runat="server" Width="100%"></asp:TextBox>
    </div>
    <div>
        标题:
    </div>
    <div>
        <asp:TextBox ID="_ctlEditCaption" runat="server" Width="100%"></asp:TextBox>
    </div>
    </div>
    <div style="width:70%; float:left;">
        <asp:Repeater ID="_ctlRepeater" runat="server">
        <HeaderTemplate>
            <table width="100%" border="1">
            <tr>
                <th>编码</th>
                <th>名称</th>
            </tr>
        </HeaderTemplate>

        <ItemTemplate>
            <tr>
                <td>
                    <%# Eval("Code") %>
                </td>
                <td>
                    <%# Eval("Caption") %>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
